home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / nt4.0 server / KEYBOARD.IN_ / keyboard.inf
Windows Setup INFormation  |  1996-07-21  |  5KB  |  142 lines

  1. ; Copyright (c) 1993-1996, Microsoft Corporation
  2.  
  3. [version]
  4. signature="$Windows NT$"
  5. Class=Keyboard
  6. ClassGUID={4D36E96B-E325-11CE-BFC1-08002BE10318}
  7. Provider=%MS%
  8. LayoutFile=layout.inf
  9.  
  10. [DestinationDirs]
  11. DefaultDestDir = 12 ; DIRID_DRIVERS
  12.  
  13. [ControlFlags]
  14. ; Device IDs to exclude from Setup pick list.
  15. ;
  16. ; Don't present 'Unknown keyboard' install option to the user.
  17. ;
  18. ExcludeFromSelect=UNKNOWN_KBD
  19.  
  20. ;
  21. ; We also store an entry in here telling us what ID to use when we don't
  22. ; have a match for a legacy keyboard driver.
  23. ;
  24. UnknownLegacyDriverId=UNKNOWN_KBD
  25.  
  26. ;
  27. ; Mark any install sections for drivers that also control the PS/2 mouse port,
  28. ; so that we can warn the user that they may also be affecting their mouse with
  29. ; a keyboard driver change.
  30. ;
  31. SharedDriver=STANDARD_Inst,%STANDARD_Inst.SharedDriverMsg%
  32.  
  33. [Manufacturer]
  34. %Std-Keyboards%=MS_KBD
  35.  
  36. [MS_KBD]
  37. %*PNP0300.DeviceDesc%    = STANDARD_Inst,*PNP0300        ;PC/XT (83-Key)
  38. %*PNP0301.DeviceDesc%    = STANDARD_Inst,*PNP0301        ;PC/AT (84-Key)
  39. %*PNP0302.DeviceDesc%    = STANDARD_Inst,*PNP0302        ;PC/XT (84-Key)
  40. %*PNP0303.DeviceDesc%    = STANDARD_Inst,*PNP0303        ;PC/AT Enh(101/102-Key)
  41. %*PNP0304.DeviceDesc%    = STANDARD_Inst,*PNP0304        ;Olivetti (83-Key)
  42. %*PNP0305.DeviceDesc%    = STANDARD_Inst,*PNP0305        ;Olivetti (102-Key)
  43. %*PNP0306.DeviceDesc%    = STANDARD_Inst,*PNP0306        ;Olivetti (86-Key)
  44. %*PNP0309.DeviceDesc%    = STANDARD_Inst,*PNP0309        ;Olivetti (101/102-Key)
  45. %*PNP030a.DeviceDesc%    = STANDARD_Inst,*PNP030a        ;AT&T 302
  46. %*PNP030b.DeviceDesc%    = STANDARD_Inst,*PNP030b        ;Default keyboard
  47. %*CPQA0D7.DeviceDesc%    = STANDARD_Inst,*CPQA0D7        ;Compaq Enhanced Keyboard
  48. %UNKNOWN_KBD.DeviceDesc% = UNKNOWN_KBD_Inst,UNKNOWN_KBD  ;unknown kbd
  49.  
  50. [STANDARD_Inst]         ; All keyboard IDs (except unknown) map to the same driver
  51. CopyFiles  = STANDARD_CopyFiles
  52.  
  53. [STANDARD_Inst.Services]
  54. AddService = i8042prt, 0x00000002, i8042prt_Service_Inst, i8042prt_EventLog_Inst ; Port Driver
  55. AddService = kbdclass,, kbdclass_Service_Inst, kbdclass_EventLog_Inst            ; Class Driver
  56.  
  57. [UNKNOWN_KBD_Inst]
  58. ; Nothing to do here--just need a section so that installation will succeed.
  59.  
  60. [STANDARD_CopyFiles]
  61. i8042prt.sys
  62. kbdclass.sys
  63.  
  64. [i8042prt_Service_Inst]
  65. DisplayName    = %i8042prt.SvcDesc%
  66. ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
  67. StartType      = 1                  ; SERVICE_SYSTEM_START
  68. ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
  69. ServiceBinary  = %12%\i8042prt.sys
  70. LoadOrderGroup = Keyboard Port
  71.  
  72. [i8042prt_EventLog_Inst]
  73. AddReg = i8042prt_EventLog_AddReg
  74.  
  75. [i8042prt_EventLog_AddReg]
  76. HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\i8042prt.sys"
  77. HKR,,TypesSupported,0x00010001,7
  78.  
  79. [kbdclass_Service_Inst]
  80. DisplayName    = %kbdclass.SvcDesc%
  81. ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
  82. StartType      = 1                  ; SERVICE_SYSTEM_START
  83. ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
  84. ServiceBinary  = %12%\kbdclass.sys
  85. LoadOrderGroup = Keyboard Class
  86.  
  87. [kbdclass_EventLog_Inst]
  88. AddReg = kbdclass_EventLog_AddReg
  89.  
  90. [kbdclass_EventLog_AddReg]
  91. HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\kbdclass.sys"
  92. HKR,,TypesSupported,0x00010001,7
  93.  
  94.  
  95. [LegacyXlate.DevId]
  96. ;
  97. ; This section is used during startup by the Windows NT Plug&Play Manager to
  98. ; simulate enumeration of the keyboard based on information retrieved from
  99. ; ARC firmware/NTDETECT.
  100. ;
  101. XT_83KEY        = *PNP0300
  102. PCAT_86KEY      = *PNP0301
  103. PCXT_84KEY      = *PNP0302
  104. XT_84KEY        = *PNP0302
  105. 101-KEY         = *PNP0303
  106. OLI_83KEY       = *PNP0304
  107. ATT_301         = *PNP0304
  108. OLI_102KEY      = *PNP0305
  109. OLI_86KEY       = *PNP0306
  110. OLI_A101_102KEY = *PNP0309
  111. ATT_302         = *PNP030a
  112. PCAT_ENHANCED   = *PNP030b
  113.  
  114. ;
  115. ; This section is used during fresh install/upgrade to determine what Win95-style
  116. ; INF install section to associate with the currently installed keyboard driver.
  117. ;
  118. [LegacyXlate.Driver]
  119. i8042prt = STANDARD_Inst
  120.  
  121. [Strings]
  122. KeyboardClassName       = "Keyboard"
  123. MS                      = "Microsoft"
  124. Std-Keyboards           = "(Standard keyboards)"
  125. *PNP0300.DeviceDesc     = "PC/XT Keyboard (83-Key)"
  126. *PNP0301.DeviceDesc     = "PC/AT Keyboard (84-Key)"
  127. *PNP0302.DeviceDesc     = "PC/XT Keyboard (84-Key)"
  128. *PNP0303.DeviceDesc     = "Standard 101/102-Key or Microsoft Natural Keyboard"
  129. *PNP0304.DeviceDesc     = "Olivetti Keyboard (83-Key) or AT&T 301 Keyboard"
  130. *PNP0305.DeviceDesc     = "Olivetti Keyboard (102-Key)"
  131. *PNP0306.DeviceDesc     = "Olivetti Keyboard (86-Key)"
  132. *PNP0309.DeviceDesc     = "Olivetti Keyboard (A101/102-Key)"
  133. *PNP030a.DeviceDesc     = "AT&T 302 Keyboard"
  134. *PNP030b.DeviceDesc     = "PC/AT Enhanced Keyboard (101/102-Key)" ; default
  135. *CPQA0D7.DeviceDesc     = "Compaq Enhanced Keyboard"
  136. UNKNOWN_KBD.DeviceDesc  = "Keyboard"
  137.  
  138. i8042prt.SvcDesc        = "i8042 Keyboard and PS/2 Mouse Port Driver"
  139. kbdclass.SvcDesc        = "Keyboard Class Driver"
  140.  
  141. STANDARD_Inst.SharedDriverMsg = "PS/2 mouse port"
  142.